The statement int **a; is legal but meaningless is syntactically and semantically correct is illegal None of these. TRUE ANSWER : ? YOUR ANSWER : ?
Functions have .......... File scope Local scope Function scope Block scope No scope at all 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]));} 6 7 5 None of these 4 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 100 1 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");} p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL TRUE ANSWER : ? YOUR ANSWER : ?
If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 215 216 – 1 None of these 216 TRUE ANSWER : ? YOUR ANSWER : ?
Which of following is not a valid name for a C variable? None of these Examians Both A and B Exam_veda Exam veda TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} Error 1 11 12 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of following program code?#include <stdio.h>int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 6 None of these 9 5 TRUE ANSWER : ? YOUR ANSWER : ?