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...


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is:

a) Variable 'str' is not initialised

b) Format control for a string is not %s

c) Parameter to scanf is passed by value. It should be an address

d) none


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What are the string functions? List some string functions available in c.

0 Answers  


What are the 3 types of structures?

0 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 Answers  


what is the use of fflush() function?

2 Answers  


What is type qualifiers?

0 Answers  


Explain output of printf("Hello World"-'A'+'B'); ?

0 Answers  


write a program to generate 1st n fibonacci prime number

2 Answers  


How to add two numbers without using semicolon n c????

3 Answers  


what is c language?

2 Answers  


Can i use “int” data type to store the value 32768? Why?

0 Answers  


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


Categories