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

What is variable in c with example?

Answer Posted / utsav patel

in c language five types of variable are present
1) local variable.
2) global variable.
3) static variable.
4) automatic variable.
5) external variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain spaghetti programming?

1242


List the different types of c tokens?

1070


What is the use of in c?

1021


What are global variables and how do you declare them?

1083


Explain the term printf() and scanf() used in c language?

1042


What does nil mean in c?

1246


Explain how do you search data in a data file using random access method?

1127


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2087


What is the difference between declaring a variable and defining a variable?

1265


Why is c called c not d or e?

1093


What does c in a circle mean?

1062


What is the difference between memcpy and memmove?

1016


How are Structure passing and returning implemented by the complier?

1157


Differentiate between null and void pointers.

1158


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

1352