271 views
0 votes
0 votes
Consider storage class of a variable declared as static. Where the memory will be allocated?

a)Code segment

b)Stack segment

c) Heap segment

d) Data segment

1 Answer

Related questions

0 votes
0 votes
0 answers
1
ranarajesh495 asked Oct 14, 2018
306 views
Can someone explain how %x works below and how we can write an operation in ths statement.
0 votes
0 votes
1 answer
2
ranarajesh495 asked Oct 13, 2018
274 views
what is the difference between printf(“\nI am don”) and printf(“%s”, I am don);
0 votes
0 votes
1 answer
3
Vaishnavi01 asked Sep 3, 2018
548 views
0 votes
0 votes
2 answers
4
anonymous asked May 14, 2018
515 views
What changes must be done for printing value 5. #include <stdio.h int main() { int var; /*Suppose address of var is 2000 */ void *ptr = &var; *ptr = 5; printf("var=%d and...