C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 Garbage Value 0 3 2 1 Garbage Value 0 3 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32767 to 32768 -3.4e38 to 3.4e38 -32768 to 32767 -32668 to 32667 -32767 to 32768 -3.4e38 to 3.4e38 -32768 to 32767 -32668 to 32667 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these strrchr() strnstr() laststr() strstr() None of these strrchr() strnstr() laststr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam None of these Exam\0Veda Veda Exam Veda Exam None of these Exam\0Veda Veda Exam Veda ANSWER DOWNLOAD EXAMIANS APP
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 complier error Run time error Enter a number:99 Number is divisible by 5 Enter a number:99 complier error Run time error Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP