What is the output of the following program main();{printf
("chennai""superkings"};
a. Chennai
b. superkings
c. error
d. Chennai superkings
Answer Posted / 1215
c.error
because1.comma(,) missing
2.main();
3.')'
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to declare pointer variables?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is the argument of a function in c?
What are reserved words with a programming language?
How can you be sure that a program follows the ANSI C standard?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is meant by keywords in c?
What is non linear data structure in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
How can I invoke another program or command and trap its output?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is difference between stdio h and conio h?
Why is c platform dependent?
What is the process of writing the null pointer?