C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short long float char int short long float char int ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns 1 true 0 None of these -1 1 true 0 None of these -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 4 Depends on the Compiler Linker Error : Undefined symbol 'i' 2 4 Depends on the Compiler Linker Error : Undefined symbol 'i' 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 3 3 2 2 3 4 2 3 2 4 3 3 2 2 3 4 2 3 ANSWER DOWNLOAD EXAMIANS APP