C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue skip break resume None of these continue skip break resume None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 33 -1 1 Compilation Error 0 33 -1 1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int No data type unsigned int Depends upon the type of the variable to which it is pointing. float int No data type unsigned int Depends upon the type of the variable to which it is pointing. float ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 Complier error 5 5.600000 0 5.600000 6 5.600000 Complier error 5 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP