C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 A c Error 65 A c Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 11 10 12 None of these 15 11 10 12 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg defg efg fg cdefg bcdefg defg efg fg cdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. 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 Enter a number:99 Number is divisible by 5 Run time error complier error Enter a number:99 Enter a number:99 Number is divisible by 5 Run time error complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32668 to 32667 -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 ANSWER DOWNLOAD EXAMIANS APP