C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} M None of these Morning Good Good Morning M None of these Morning Good Good Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? All of these Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Hello H Some address will be printed None of these. Hello H Some address will be printed 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);} Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz "after that program will stop" 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? cdefg bcdefg fg efg defg cdefg bcdefg fg efg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c 65 A Error c 65 A Error ANSWER DOWNLOAD EXAMIANS APP