C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These Garbage Value 1 10 None of These Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 4 None of These 16 64 4 None of These 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 -1 2 Program do no return a value. 1 -1 2 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP