String concatenation means - Comparing the two strings to define the larger one. Merging two strings. Combining two strings. Partitioning the string into two strings. Extracting a substring out of a string. TRUE ANSWER : ? YOUR ANSWER : ?
void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 14 12 13 22 13 14 14 12 10 11 13 22 12 12 13 22 11 11 11 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of given program?#include<stdio.h>void main(){int a=1;if("%d=hello", a);} no error no output 0 1 complier error TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Garbage Value Compiler Error 6 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ printf("%p", main);} Error Some address will be printed None of These make an infinite loop TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program?#include<stdio.h>#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 TRUE ANSWER : ? YOUR ANSWER : ?
What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=4 x=5 x=1 x=0 Error TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:#include <stdio.h>void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} Depends on the compiler p q x nullq where x can be p or nullp depending on the value of NULL nullp nullq TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a correct variable type? double real float int char TRUE ANSWER : ? YOUR ANSWER : ?