You are not logged in.

#1 2015-09-17 04:27:01

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Basic Quiz Question.

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … uage-Basic

Directions:
Determine Output:

Question:
#include<stdio.h>
void main()
{
      register i=5;
      char j[]= "hello";
      printf("%s %d", j, i);
}

Option A):
None
Option B):
hello garbage value
Option C):
hello 5
Option D):
Error

Correct Answer is Option C):
hello 5


Failure is the first step towards seccess.

2015-09-17 04:27:01

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



Board footer