What is the difference between static and global variables?
Answer / kush joshi
static variable only can access within a function where
these declared, but the global variables access any where in
the program.
| Is This Answer Correct ? | 4 Yes | 1 No |
How can I write a function that takes a format string and a variable number of arguments?
what does keyword ‘extern’ mean in a function declaration?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
What is the difference between procedural and declarative language?
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?
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
What is the size of a union variable?
What are the application of void data type in c?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
What are the types of operators in c?
What is the right way to use errno?
What is a lvalue