What are Storage Classes in C ?
Answer Posted / milind rane.
Storage classes in c are as follows:
1)Automatic storage class.
2)Register storage class.
3)Static storage class.
4)External Storage Class.
And here value stored in CPU Register can always be accessed
faster than the one that is stored memory.
Hope the Ans. is correct!
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
State the difference between realloc and free.
What is a nested loop?
What is the size of a union variable?
What is keyword in c?
What is anagram in c?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
Write a code on reverse string and its complexity.
Describe how arrays can be passed to a user defined function
What is echo in c programming?
Can static variables be declared in a header file?
What are the two types of structure?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
How can you read a directory in a C program?
What is a pointer on a pointer in c programming language?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd