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?

Answers were Sorted based on User's Feedback



#include<stdio.h> void main() { char *str; long unsigned int add; str="H..

Answer / manish122

Error:- Non Portable Pointer Conversion.

Is This Answer Correct ?    5 Yes 0 No

#include<stdio.h> void main() { char *str; long unsigned int add; str="H..

Answer / vinod kumar

warning: assignment makes integer from pointer without a cast

Is This Answer Correct ?    4 Yes 3 No

#include<stdio.h> void main() { char *str; long unsigned int add; str="H..

Answer / balakrishna

Non-Portable pointer assignment in function main

Is This Answer Correct ?    0 Yes 0 No

#include<stdio.h> void main() { char *str; long unsigned int add; str="H..

Answer / praveen

Error.Non-Portable pointer assignment in function main

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

char ch="{'H','I',0};printf("%s",ch);what is output

9 Answers   Accenture,


what is c?

4 Answers   IBM, TCS,


What is meaning of "Void main" in C Language.

24 Answers   Ford, GU, HCL, IBIBS, JUW, TCS,


whitch value return void main?

11 Answers  


Sir i need notes for structure,functions,pointers in c language can you help me please

0 Answers   TCS,


How can I manipulate individual bits?

0 Answers  


how to find the kth smallest element in the given list of array elemnts.

8 Answers   Silicon,


write a progam to compare the string using switch case?

1 Answers  


What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 Answers  


What should malloc(0) do?

0 Answers  


what is meant by c

9 Answers   INiTS,


say the following declaration is correct nr not. int b=a,n=0;

4 Answers   Wipro,


Categories