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");} None of These I love Examians Error I hate Examians None of These I love Examians Error I hate Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 14 13 Garbage Value 15 12 14 13 Garbage Value 15 12 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 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The increment should always be ++k . There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. The increment should always be ++k . There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 3 0 1 2 2 1 1 2 2 None of these 0 1 2 3 1 1 2 3 0 1 2 2 1 1 2 2 None of these 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming 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} 0 Error 10..50 10..10 0 Error 10..50 10..10 ANSWER DOWNLOAD EXAMIANS APP