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

What is the advantage of an array over individual variables?

0 Answers  


Is calloc better than malloc?

0 Answers  


Explain what a Binary Search Tree is.

3 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


What are header files in c programming?

0 Answers  


What are the different types of constants?

0 Answers  


what are the compilation steps? ( i want inside the compiler )

2 Answers  


The variables are int sum=10,SuM=20; these are same or different?

3 Answers  


What is a rvalue?

0 Answers   Global Logic,


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

0 Answers  


If input is 123 then how to print 100 and 20 and 3 seperately?

4 Answers  


What is getch c?

0 Answers  


Categories