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
Explain spaghetti programming?
List the different types of c tokens?
What is the use of in c?
What are global variables and how do you declare them?
Explain the term printf() and scanf() used in c language?
What does nil mean in c?
Explain how do you search data in a data file using random access method?
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.
What is the difference between declaring a variable and defining a variable?
Why is c called c not d or e?
What does c in a circle mean?
What is the difference between memcpy and memmove?
How are Structure passing and returning implemented by the complier?
Differentiate between null and void pointers.
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