How can you determine the size of an allocated portion of memory?
No Answer is Posted For this Question
Be the First to Post Answer
Diff between for loop and while loop?
what is the use of bitfields & where do we use them?
how to multiply two number taking input as a string (considering sum and carry )
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
Explain the difference between malloc() and calloc() function?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
Where local variables are stored in c?
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
How can I set an array's size at run time?
Does c have function or method?
How #define works?