#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 / manish122
Error:- Non Portable Pointer Conversion.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain what is the best way to comment out a section of code that contains comments?
What are the 32 keywords in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
How do we make a global variable accessible across files? Explain the extern keyword?
What is the right type to use for boolean values in c? Is there a standard type?
How can I do graphics in c?
What is header file in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Explain the difference between structs and unions in c?
What is nested structure in c?
How can my program discover the complete pathname to the executable from which it was invoked?
what are bit fields in c?
about c language
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
what is the difference between class and unio?