what are the static variables
Answer Posted / nitin gupta
a static variable is shared by all the the instances of a
class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is gets() function?
What is calloc in c?
Explain why c is faster than c++?
What is the difference between array_name and &array_name?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is data structure in c programming?
What does c mean before a date?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
How can a process change an environment variable in its caller?
Explain what is the use of a semicolon (;) at the end of every program statement?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
How to Throw some light on the splay trees?
Explain how can I convert a number to a string?
How many loops are there in c?