#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?

Answer Posted / balakrishna

Non-Portable pointer assignment in function main

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is boolean a datatype in c?

555


What is a far pointer in c?

603


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3509


What is the auto keyword good for?

631


find out largest elemant of diagonalmatrix

1653






How is a structure member accessed?

592


hi any body pls give me company name interview conduct "c" language only

1675


What is use of bit field?

779


Tell me can the size of an array be declared at runtime?

603


Explain the difference between getch() and getche() in c?

570


Can main () be called recursively?

637


about c language

1608


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1912


Is that possible to store 32768 in an int data type variable?

696


What is a protocol in c?

566