Question: C program just answer multiple choice without explanation as soon as possible Find the value of X for the given expression. X= 5 % 7-4




Find the value of X for the given expression. X= 5 % 7-4 a. O O b. 2 O C. 1 d. 3 What should be the value of x for the below code to print "OMAN"? if(x>10 && x%5==0) printf("OMAN"); else printf("INDIA"); a. 10 O b. 12 c. 5 O d. 15 What is the output of the below code snippet for n=42? if(n%2==0 || n%4==0) printf(" 4 Factor"); printf(" Even Number"); O a. 4 Factor b. Even Number C. Error O d. 4 Factor Even Number What is the value in string st20 of the below code snippet? char st1 [] ="TimesOf"; char st2 [ ] = "Oman"; strcat(st1.st2); O a. Oman TimesOf b. Oman O c c. TimesOfOman O d. Times Of What is the value in string st1[] of the below code snippet? char st1 [] ="Sultanate Of";char st2 | ="Oman";strcpy(st1,st2); O a. Oman b. SultanateOfOman O C. SultanateOf O d. OmanSultanate Of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
