#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 / praveen

Error.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

a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

622


What do header files do?

610


What is malloc and calloc?

580


What is extern keyword in c?

648


How do I get a null pointer in my programs?

626






What is the difference between typedef and #define?

552


What do you understand by normalization of pointers?

631


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

627


What does 1f stand for?

618


Describe the steps to insert data into a singly linked list.

630


What is formal argument?

656


Write a program for Overriding.

694


Can true be a variable name in c?

563


How do you define a function?

589


What are the uses of null pointers?

601