What will be the output of the program ?#include<stdio.h>#include<string.h>void main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these Hello World Hello World WorldHello TRUE ANSWER : ? YOUR ANSWER : ?
What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 20 -1 19 16 TRUE ANSWER : ? YOUR ANSWER : ?
The recursive functions are executed in a ........... Parallel order Iterative order First In First Out order Last In First Out order Random order TRUE ANSWER : ? YOUR ANSWER : ?
Which operator from the following has the lowest priority? Unary-operator Conditional operator Division operator Comma operator Assignment operator TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:#include<stdio.h>#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 None of These 10 TRUE ANSWER : ? YOUR ANSWER : ?
What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 Error 0 10..10 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 15 10 11 TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 Compilation error 11 14 TRUE ANSWER : ? YOUR ANSWER : ?
The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. The same as int *p[ p is a pointer to a 5 elements integer array. None of these. TRUE ANSWER : ? YOUR ANSWER : ?