Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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

Differentiate between ordinary variable and pointer in c.

1185


What are the types of functions in c?

988


Is it possible to initialize a variable at the time it was declared?

1220


Explain goto?

1158


What are qualifiers and modifiers c?

1007


How do I swap bytes?

1076


What is storage class?

1079


What are the benefits of c language?

1181


What is pass by value in c?

1070


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1094


What are different types of variables in c?

1075


What are static variables in c?

1084


What are reserved words?

1112


What is pass by reference in c?

1188


How can I split up a string into whitespace-separated fields?

1058