A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_session8hkbfer3f48jes7k82umqfuehrbme0je): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

What will be the output of the following C code?#include

Home » C Programming » Pointers » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    char *str = "AJIT";
    char *ptr = str;
    printf("%c %c", *(ptr + 2), str[2]);
    }
    1. Ajit
    2. A A
    3. Compilation Error
    4. I I
    5. None of these
Correct Option: D

I I



Your comments will be displayed only after manual approval.