Arjun Suresh (talk | contribs) (Created page with "<quiz display="simple"> {''' What is the output of the following program?''' <syntaxhighlight lang="c"> #include<stdio.h> int main() { char str[] = {'a','b','c','\0'}; ...") |
Arjun Suresh (talk | contribs) |
||
Line 1: | Line 1: | ||
<quiz display="simple"> | <quiz display="simple"> | ||
+ | |||
+ | |||
{''' What is the output of the following program?''' | {''' What is the output of the following program?''' | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 15: | Line 17: | ||
/} | /} | ||
{ Abc } | { Abc } | ||
+ | |||
+ | |||
+ | |||
</quiz> | </quiz> |
<quiz display="simple">
{ What is the output of the following program?
<syntaxhighlight lang="c">
int main() {
char str[] = {'a','b','c','\0'}; str[0] -= 32; printf("%s",str);
return 0;
} </syntaxhighlight> |type="{}" /} { Abc }
</quiz>
<quiz display="simple"> { What is the output of the following program? <syntaxhighlight lang="c">
int main() {
char str[] = {'a','b','c','\0'}; str[0] -= 32; printf("%s",str);
return 0;
} </syntaxhighlight> |type="{}" /} { Abc } </quiz>