#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
What does node * mean?
What are the back slash character constants or escape sequence charactersavailable in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why c is a procedural language?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What are qualifiers and modifiers c?
What does sizeof int return?
please send me the code for multiplying sparse matrix using c
Why c language is called c?
What are actual arguments?
writ a program to compare using strcmp VIVA and viva with its output.
Where are the auto variables stored?
What is union and structure in c?
What is volatile c?
Give me the code of in-order recursive and non-recursive.