Line 16: Line 16:
 
|type="{}"
 
|type="{}"
 
/}
 
/}
 +
 +
 
{ Abc }
 
{ Abc }
  

Revision as of 11:31, 21 May 2014

<quiz display="simple">


{ What is the output of the following program? <syntaxhighlight lang="c">

  1. include<stdio.h>

int main() {

   char str[] = {'a','b','c','\0'};
   str[0] -= 32;
   printf("%s",str);
   return 0;

} </syntaxhighlight> |type="{}" /}


{ Abc }


</quiz>



This work is licensed under the CC By-SA 3.0 , without all the cruft that would otherwise be put at the bottom of the page.

Sister Sites: GATE CSE Wiki, GATE CSE, Aptitude Overflow