Differentiate between ordinary variable and pointer in c.
No Answer is Posted For this Question
Be the First to Post Answer
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()
what is the full form of c language
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is the return type of sizeof?
What is the benefit of using const for declaring constants?
Are the expressions * ptr ++ and ++ * ptr same?
main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }
Is c is a low level language?
Why #include is used in c language?
Why c is called a middle level language?
Where are local variables stored in c?