A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_sessioncakok0ca878asnl65od5qe1sqec8gppt): 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

Will the following C code compile without any error?#include

Home » C Programming » Variables » Question
  1. Will the following C code compile without any error?
    #include <stdio.h>
    int main()
    {
    int n;
    {
    int n;
    for (n = 0; n < 12; n++);
    }
    }
    1. No
    2. Yes
    3. Depends on the C standard implemented by compilers
    4. All of above
    5. None of these
Correct Option: B

There can be blocks inside the block. But within a block, variables have only block scope.



Your comments will be displayed only after manual approval.