what are the stoge class in C and tel the scope and life time
of it?
Answers were Sorted based on User's Feedback
Answer / anudeep gongadi
1.automatic: the scope is within the function
2.extern: if variable is declared with extern, then that
variable is there in another program.and it can be used in
current program.
3.static: they are initialised only once.
4.register: limited memory is reserved for registers.
for faster access off data and computations, we mae use of
registers.
Is This Answer Correct ? | 8 Yes | 2 No |
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }
How can you increase the allowable number of simultaneously open files?
What is the -> in c?
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
What are void pointers in c?
write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
write a string copy function routine?
How can I increase the allowable number of simultaneously open files?
Does c have class?
Write a C program to convert an integer into a binary string?
why the execution starts from main function
What is clrscr in c?