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 Error I hate Examians I love Examians TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?#include <stdio.h>void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 444 Garbage Value 433 000 333 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 Error 11 12 TRUE ANSWER : ? YOUR ANSWER : ?
Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 50 None of these 10 15 TRUE ANSWER : ? YOUR ANSWER : ?
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);} x=5 Error x=0 x=1 x=4 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} ERROR RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR RED TRUE ANSWER : ? YOUR ANSWER : ?
What is function? All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. TRUE ANSWER : ? YOUR ANSWER : ?
short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 7 24 6 12 TRUE ANSWER : ? YOUR ANSWER : ?
In which stage the following code#include<stdio.h>gets replaced by the contents of the file stdio.h During Execution During linking During Preprocessing During Editing None of these TRUE ANSWER : ? YOUR ANSWER : ?
Array passed as an argument to a function is interpreted as Address of the first element of the array. Address of the array. Number of element of the array. Values of the first elements of the array. TRUE ANSWER : ? YOUR ANSWER : ?