Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs

Interview Questions

C Interview questions

Next>>   Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

Define the scope of static variables.

The scope of a static variable is local to the block in which the variable is defined..............
Read answer

What are volatile variables?

Volatile variables get special attention from the compiler. A variable declared with the volatile keyword may be modified externally from the declaring function................
Read answer

Explain the meaning of "Segmentation violation".

A segmentation violation usually indicates an attempt to access memory which doesn't even exist............
Read answer

What is "Bus error"?

A bus error indicates an attempt to access memory in an illegal way,perhaps due to an unaligned pointer...........
Read answer

Define recursion in C

A programming technique in which a function may call itself. Recursive programming is especially well-suited to parsing nested markup structures.............
Read answer

What does static variable mean in C?

static is an access qualifier that limits the scope but causes the variable to exist for the lifetime of the program....................
Read answer

List out differences between structures and arrays

The following are the differences between structures and arrays: - Array elements are homogeneous. Structure elements are of different data type.............
Read answer

Define macros. What are the advantages and disadvantages of Macros?

A macro is a name given to a block of C statements as a pre-processor directive. Being a pre-processor, the block of code is communicated to the compiler before entering............
Read answer

List out differences between pass by reference and pass by value

Pass by value always invokes / calls the function or returns a value that is based on the value. This value is passed as a constant or a variable with value.............
Read answer

Define static identifier in C?

The static identifier is used for initializing only once, and the value retains during the life time of the program / application. A separate memory is allocated for ‘static’ variables............
Read answer

What are the auto variables? Where are they stored?

The auto variables are stored in the memory of the system. The keyword ‘auto’ is optional. Many of the variables used by the program.............
Read answer

List out differences between arrays and linked list

The difference between arrays and linked lists are: - Arrays are linear data structures. Linked lists are linear and non-linear data structures............
Read answer

Explain the term enumerations in C

A set of named integer constants is known as an enumeration. The enumeration type declaration includes the name of the enumeration tag and the definition of a set of named integers............
Read answer

Describe about storage allocation and scope of global, extern, static, local and register variables

The storage allocation / class determine the memory part where the storage space is allocated for variables, functions and how long the allocation of storage continues to exist............
Read answer

Define register variables. What are the advantages of using register variables?

The variables of ‘register’ type modifier will inform the compiler for storing the variables in a register of CPU.............
Read answer

What is the use of typedef?

The keyword typedef is used for defining user defined data types. A new definition of existing data types is created by using typedef...............
Read answer

Can we specify variable field width in a scanf() format string? If possible how?

It is possible to specify variable field width in a scanf() format string. By using %s control string...........
Read answer

Out of fgets() and gets() which function is safe to use and why?

The function fgets() function is safer to use. It checks the bounds.........
Read answer

List out differences between strdup() and strcpy()

The function strcpy() will not allocate the memory space to copy..............
Read answer

What is the difference between char *a and char a[]?

For char[] array, such size is not accepted by the compiler. If the size is specified, the following are the differences between char *a and char a[]...........
Read answer

Define void pointer

A void pointer is pointer which has no specified data type. The keyword ‘void’ is preceded the pointer variable.............
Read answer

What is a const pointer?

A const pointer is not the pointer to constant, it is the constant. For example, int* const ptr; indicates that ptr is a pointer..............
Read answer

Explain memory leak

An unwanted increase in programs is referred as a memory leak is C language. The intake of program increases...............
Read answer

What is static memory allocation and dynamic memory allocation?

Static Memory Allocation: Memory is allocated for the declared variable by the compiler............
Read answer

What is the purpose of main( ) function?

The function main() calls / invokes other functions within it. The execution of the program always starts with main() function...........
Read answer

What is the difference between #define and constant in C?

A #define is used as immediate constant or as a macro. Where as the constant is a variable whose value can not change.............
Read answer

What are storage class in c?

The scope and lifetime of a variable or / and function within a C program is defined by storage class. There are four storage classes in C............
Read answer

Difference between Function to pointer and pointer to function

A function to pointer is one which returns a pointer.............
Read answer

What is the difference between a string and an array?

The following are the differences: - String can hold only char data. Where as an array can hold any data type.............
Read answer

Test your C knowledge with our multiple choice questions!

Next>>

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.