#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
Do you know what are bitwise shift operators in c programming?
#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); }
Tell us the use of fflush() function in c language?
What is the process to create increment and decrement stamen in c?
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
write a program to find the given number is prime or not
Tell me what is the purpose of 'register' keyword in c language?
what are # pragma staments?
How would you obtain the current time and difference between two times?
Write a program in c to replace any vowel in a string with z?
How is a structure member accessed?
p*=(++q)++*--p when p=q=1 while(q<=6)
What is wrong with this initialization?
What is the difference between printf and scanf )?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion