C Programming Which of following is not a valid name for a C variable? Exam veda Examians Both A and B None of these Exam_veda Exam veda Examians Both A and B None of these Exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of None of these. An Editor A compiler An operating system None of these. An Editor A compiler An operating system ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M None of These N P M None of These N P 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 Run time error Enter a number:99 Number is divisible by 5 complier error Enter a number:99 Run time error Enter a number:99 Number is divisible by 5 complier error 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 short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 12 7 It will not compile because not enough initializers are given 6 24 12 7 It will not compile because not enough initializers are given 6 ANSWER DOWNLOAD EXAMIANS APP