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 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=5 x=1 x=4 x=0 Error x=5 x=1 x=4 x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strstr() strnset() strchr() strrchr() None of these strstr() strnset() strchr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Can't Say Compiler Error None of These will print Hello World Can't Say Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing None of these During Execution During Editing During linking During Preprocessing None of these During Execution During Editing During linking ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I love Examians None of These I hate Examians Error I love Examians None of These I hate Examians Error ANSWER DOWNLOAD EXAMIANS APP