C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. 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? float int unsigned int Depends upon the type of the variable to which it is pointing. No data type float int unsigned int Depends upon the type of the variable to which it is pointing. No data type 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");} Error I hate Examians I love Examians None of These Error I hate Examians I love Examians None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 1, 2, 5 2, 3, 20 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 2, 1, 15 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say Compiler Error will print Hello World None of These Can't Say Compiler Error will print Hello World None of These ANSWER DOWNLOAD EXAMIANS APP