What will be the output of the following program?#include<stdio.h>#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 16 64 4 TRUE ANSWER : ? YOUR ANSWER : ?
The declarationint (*p) [5];means None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 1 Error 12 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..10 10..50 0 Error TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error Linker Error 2 20 TRUE ANSWER : ? YOUR ANSWER : ?
The recursive functions are executed in a ........... Iterative order Parallel order Random order Last In First Out order First In First Out order TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 7 6 4 None of these TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These 300 Error %d\n TRUE ANSWER : ? YOUR ANSWER : ?
What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 8 9 7 6 TRUE ANSWER : ? YOUR ANSWER : ?