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 / balakrishna

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

Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1135


Is main is a keyword in c?

1129


What is ponter?

1265


What are dangling pointers in c?

1227


Why array is used in c?

1016


Are local variables initialized to zero by default in c?

1053


What is n in c?

1046


Which is better oop or procedural?

1064


What is the c value paradox and how is it explained?

1056


What is the significance of c program algorithms?

1147


What is structure in c definition?

1048


What is the benefit of using const for declaring constants?

1049


write a progrmm in c language take user interface generate table using for loop?

2050


What is a wrapper function in c?

1118


Write a simple code fragment that will check if a number is positive or negative.

1151