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

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

Answer Posted / vignesh1988i

unpredictable..............

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1594


what type of questions arrive in interview over c programming?

1562


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

590


How can I dynamically allocate arrays?

597


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1500






How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

4907


Explain what is the benefit of using enum to declare a constant?

591


Which type of language is c?

656


What is the time and space complexities of merge sort and when is it preferred over quick sort?

678


What is pass by value in c?

598


Is c a great language, or what?

606


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1779


What is a constant and types of constants in c?

606


Is c weakly typed?

581


What is hungarian notation? Is it worthwhile?

703