c language interview questions & answer
No Answer is Posted For this Question
Be the First to Post Answer
Explain 'far' and 'near' pointers in c.
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }
Explain how can type-insensitive macros be created?
main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?
Are bit fields portable?
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.
how to print this sereis 2 4 3 6 5..........?
What is mean by data types in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is ambagious result in C? explain with an example.
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?