510 views
0 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

Position:
Show:

Related questions

1 1 vote
1 answers 1 answer
378
378 views
Debargha Mitra Roy asked Dec 21, 2024
378 views
Consider the following code. What is the value printed by the below code?_______#include <stdio.h int main() { char s1[] = "Hello"; char s2[] = {'H', 'e', 'l', 'l', 'o'};...
0 0 votes
0 0 answers
689
689 views
ranarajesh495 asked Oct 14, 2018
689 views
Can someone explain how %x works below and how we can write an operation in ths statement.
0 0 votes
1 1 answer
468
468 views
ranarajesh495 asked Oct 13, 2018
468 views
what is the difference between printf(“\nI am don”) and printf(“%s”, I am don);
0 0 votes
1 answers 1 answer
1.2k
1.2k views
Vaishnavi01 asked Sep 3, 2018
1,236 views