#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

Do you know what are bitwise shift operators in c programming?

579


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

713


Tell us the use of fflush() function in c language?

631


What is the process to create increment and decrement stamen in c?

583


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

629






write a program to find the given number is prime or not

3830


Tell me what is the purpose of 'register' keyword in c language?

612


what are # pragma staments?

1621


How would you obtain the current time and difference between two times?

719


Write a program in c to replace any vowel in a string with z?

683


How is a structure member accessed?

581


p*=(++q)++*--p when p=q=1 while(q<=6)

1264


What is wrong with this initialization?

584


What is the difference between printf and scanf )?

585


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2330