Which of the following statement is true?
What will be output when you will execute following c code?#include <stdio.h>void main()
{ int const SIZE = 5; int expr; double value[SIZE] = { 2.0, 4.0, 6.0, 8.0, 10.0 }; expr=1|2|3|4; printf ( "%f", value[expr] );}
How many times i value is checked in the below code?
#include <stdio.h> int main() { int i = 0; do { i++; printf( "In while loopn" ); } while (i < 3); }
Which Of The Following Statements Is Most Accurate For The Declaration X = Circle()?
What is the output of this C code?
#include <stdio.h> void main() { int x = 1, z = 3; int y = x << 3; printf( "%dn", y ); }
Output of the Program :
main()
{
int i = 1;
while (i <= 5)
printf( "%d", i );
if (i > 2) goto here;
i++;
}
fun()
here : printf( "PP" );
What will be output of the following c program ?
#include
int main()
int max-val=100;
int min-val=10;
int avg-val;
avg-val =( max-val + min-val ) / 2;
printf( "%d", avg-val );
return 0;
What would be the output of the following program ?
unsigned int a = oxffff;
~a;
printf ("%x", a);
void main()
char good *better, *best;
printf( "%d..%d", sizeof(better), sizeof(best) );
What will be output when you will execute following c code?#include <stdio.h>enum actor
{ SeanPenn=5, AlPacino=-2, GaryOldman, EdNorton};void main()
{ enum actor a=0; switch(a)
{ case SeanPenn: printf("Kevin Spacey"); break; case AlPacino: printf("Paul Giamatti"); break; case GaryOldman:printf("Donald Shuterland"); break; case EdNorton: printf("Johnny Depp"); } }
#include <stdio.h> void m() { printf("hi"); } void main() { m(); }
The output of the code below is
#include <stdio.h> int *m() { int *p = 5; return p; } void main() { int *k = m(); printf("%d", k); }
#include <stdio.h> void main() { int y = 3; int x = 5 % 2 * 3 / 2; printf("Value of x is %d", x); }
Macro flowchart is also called as
A source program is the program written in which level language ?
The coding or scrambling of data so that humans cannot read them, is known as _____.
char *p; p = "Hello";
printf ("%cn", *&*p);
char s[ ] = "man";
int i;
for( i=0; s[ i ]; i++)
printf( "n%c%c%c%c", s[ i ], *(s+i), *(i+s), i[s] );
#include <stdio.h> int main() { int a = 1, b = 1; switch (a) { case a*b: printf("yes "); case a-b: printf("non"); break; } }
Which of the following is not a valid escape code?
Please disable the adBlock and continue. Thank you.