#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 / vinod kumar

warning: assignment makes integer from pointer without a cast

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Dynamic memory allocation in C? Name the dynamic allocation functions.

562


what do you mean by enumeration constant?

601


Differentiate abs() function from fabs() function.

602


When a c file is executed there are many files that are automatically opened what are they files?

598


Array is an lvalue or not?

642






A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

651


What standard functions are available to manipulate strings?

567


What is an lvalue in c?

698


How do you convert strings to numbers in C?

713


explain what are actual arguments?

641


Explain how do you generate random numbers in c?

628


How can I generate floating-point random numbers?

613


Which is better pointer or array?

606


what is recursion in C

618


Stimulate calculator using Switch-case-default statement for two numbers

2452