UGC/CBSE NET SOLVED QUESTION PAPERS.(Computer Science)
Monday 1 June 2015
Q50,paper3,J13. What will be the output of the following segment of the program ?
main( )
{
char *s = “hello world”;
int i = 7;
printf(“%, *s”, i, s);
}
(A) Syntax error
(B) hello w
(C) hello
(D) o world
ANSWER A.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.