what are the static variables
Answer Posted / nil
Static vairiable is one which can be accessed without
creation of an object of Class i.e. by direct calling calss.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Where static variables are stored in memory in c?
What are the uses of a pointer?
Is the exit() function same as the return statement? Explain.
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What are 3 types of structures?
What are the different data types in C?
Explain what are its uses in c programming?
What is the method to save data in stack data structure type?
Where register variables are stored in c?
What is the benefit of using #define to declare a constant?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What are the 5 data types?
Why is struct padding needed?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?