rss feed blog search engine
 
Search rss blog search engine
 
C interiew questions with answers  
Released:  9/7/2009 3:02:14 PM
RSS Link:  http://interview-c-questions.blogspot.com/feeds/posts/defaul ..
Last View 11/20/2009 2:53:57 AM
Last Refresh 11/21/2009 3:08:02 AM
Page Views 110
Comments:  Read user comments (0)
Share



Description:



Maximum number of possible c interview questions that can be asked in interviews


Contents:

C Interview Questions Part 10
C interview question:How do I write code that executes certain function only at program termination?Answer: Use atexit( ) function as shown in following program.#includemain( ){int ch ;void fun (...

click the link to see the answer


C Interview Questions Part 9
C interview question: What is a stack ?Answer: The stack is a region of memory within which our programs temporarily store data as they execute. For example, when a program passes parameters to...

click the link to see the answer


C Interview Questions Part 8
C interview question:If we have declared an array as global in one file and we are using it in another file then why doesn't the sizeof operator works on an extern array?Answer: An extern array is of...

click the link to see the answer


C Interview Questions Part 7
C interview question:What is atexit() ?Answer:Function atexit( ) recevies parameter as the address of function of the type void fun ( void ). The function whose address is passed to atexit( ) gets...

click the link to see the answer


C Interview Questions Part 6
C interview question:The sizeof( ) function doesn’t return the size of the block of memory pointed to by a pointer. Why?Answer:The sizeof( ) operator does not know that malloc( ) has been used to...

click the link to see the answer


C Interview Questions Part 5
C interview question:Explain the functions memcmp( ) and memicmp( )Answer:The functions memcmp( ) and memicmp( ) compares first n bytes of given two blocks of memory or strings.However, memcmp( )...

click the link to see the answer


C Interview Questions Part 4
C interview questions:Are the following two statements identical?char str[6] = "Kicit" ;char *str = "Kicit" ;Answer: No! Arrays are not pointers. An array is a single, pre-allocated chunk of...

click the link to see the answer


C Interview Questions Part 3
C interview question: How do I compare character data stored at two different memory locations?Answer: Sometimes in a program we require to compare memory ranges containing strings. In such a...

click the link to see the answer


C Interview Questions Part 2
C interview question:What will be the output of the following code?void main (){ int i = 0 , a[3] ;a[i] = i++;printf (“%d",a[i]) ;}Answer: The output for the above code would be a garbage value. In...

click the link to see the answer


C Interview Questions Part 1
C interview question: What is C language?Answer: The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX...

click the link to see the answer






Home  
 



Link to us




RSS Feed of new blogs                                                   Home        Feed Map        Submit Feed      Link to Us       Contact