char ch="{'H','I',0};printf("%s",ch);what is output

Answer Posted / vignesh1988i

first of all the character initilization itself will give an error. since 0 is not provided with single codes. if we neglect that error or we correct the above error. the final output will be 0

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is javascript written in c?

586


How does pointer work in c?

623


Does sprintf put null character?

607


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3694


Why is it important to memset a variable, immediately after allocating memory to it ?

1557






Why is void main used?

625


How are 16- and 32-bit numbers stored?

727


What is difference between class and structure?

575


Can you return null in c?

601


What is a pointer in c plus plus?

698


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1675


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1862


What is double pointer in c?

593


What is the use of pointers in C?

627


What is difference between structure and union in c?

551