Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Compiler Error Can't Say will print Hello World TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:#include<stdio.h>#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 1 0 Error TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hj grjeodt ij!gsjfoet hi friends None of These TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of this program on an implementation where int occupies 2 bytes?#include <stdio.h>void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined TRUE ANSWER : ? YOUR ANSWER : ?
Who is father of C Language? Gosling F. Codd James Bjarne Stroustrup Dr. Dennis Ritchie TRUE ANSWER : ? YOUR ANSWER : ?
Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} hai haasi asiha absiha TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) TRUE ANSWER : ? YOUR ANSWER : ?
What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 14 Garbage Value 15 13 12 TRUE ANSWER : ? YOUR ANSWER : ?
What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 10 5 6 11 9 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is the correct way of declaring a float pointer: float *ptr; float ptr; None of these *float ptr; TRUE ANSWER : ? YOUR ANSWER : ?