C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Number is divisible by 5 Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 Enter a number:99 Run time error complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a declaratrion It is a formal parameter Initialization is a part of definition All of these It is a declaratrion It is a formal parameter Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 None of these 215 216 216 – 1 215 – 1 None of these 215 216 216 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these puts() printf() gets() scanf() None of these puts() printf() gets() scanf() ANSWER DOWNLOAD EXAMIANS APP