char S;
char S[6]= " HELLO";
printf("%s ",S[6]);

output of the above program ?
(0, ASCII 0, I,unpredictable)

Answer Posted / vrushali

The answer is unpredictable....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to reverse a string.

640


What is the function of volatile in c language?

668


What does dm mean sexually?

810


Explain how can I manipulate strings of multibyte characters?

782


Is exit(status) truly equivalent to returning the same status from main?

585






In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

764


What is the need of structure in c?

566


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2935


Why isnt there a numbered, multi-level break statement to break out

587


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3730


What is the equivalent code of the following statement in WHILE LOOP format?

769


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

780


What is string function c?

568


Is null equal to 0 in sql?

654


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1728