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 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32668 to 32667 -32767 to 32768 -32768 to 32767 -3.4e38 to 3.4e38 -32668 to 32667 -32767 to 32768 -32768 to 32767 -3.4e38 to 3.4e38 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 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 2 4 4 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error zero None of These three Error zero None of These three ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Forget it Ok here None of These Error Forget it Ok here None of These ANSWER DOWNLOAD EXAMIANS APP