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

What is the use of extern in c?

1046


Are c and c++ the same?

1001


Define Array of pointers.

1041


What are global variables and how do you declare them?

1015


Why do we use stdio h and conio h?

1031


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

1299


What is a union?

979


Explain the difference between call by value and call by reference in c language?

1050


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1768


Which function in C can be used to append a string to another string?

1176


How does pointer work in c?

1070


Why doesnt the call scanf work?

1137


Define recursion in c.

1196


Differentiate between the expression “++a” and “a++”?

1201


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1167