Skip to content

Interview Sansar

Software jobs interview preparation source

  • Home
  • Interview Questions
    • C Interview Questions
    • C++ Advanced Interview Questions
    • C++ Basic Interview Questions
    • Core Java Interview Questions
    • Java Collections Interview Questions
    • Java Multithreading Interview Questions
    • C# Basic Interview Questions
    • C# Advanced Interview Questions
    • C# Multi-threading Interview Questions
  • MCQs
    • MCQ-C++
    • MCQ-Java
    • MCQ-SQL
    • MCQs Algorithms and Data Structure
  • Programming Examples
    • C Programming Examples
    • C++ Programming Examples
    • C# Programming Examples
    • SQL Examples
    • Oracle PL SQL Examples
    • Time Complexity
  • Blog
    • C++ interview questions
    • C# interview questions
    • Java Interview Questions
    • Short Interview Questions
    • Behavioural / HR Interview
  • You-Tube
  • About
    • Why Visit
    • Sitemap
    • Contact Us
    • e-author

Category: C Interview Questions

List of C interview questions and answers with example for freshers and experienced both, asked in C technical job interviews in software IT Industries |Only Real.

C Interview Questions

What is difference between #if and #ifdef ?

August 18, 2024December 29, 2015 rsingh

Answer: Difference between #if and #ifdef Preprocessor Directives is as below in C, C++. lets understand the both #if and #ifdef by example and use.

Read More
C Interview Questions

What is static variable in C Programming?

August 18, 2024December 31, 2015 rsingh

Answer: Static variable in C programming is the variable which value persists between different function calls throughout the life cycle of the program. For example,

Read More
C Interview Questions

What is use of static function in C language programming?

August 18, 2024January 29, 2023 rsingh

Answer includes the use of static function in C programming with explanation and C code example. You can read static function definition with example in

Read More
C Interview Questions

Explain static function in C language with example

August 18, 2024January 1, 2016 rsingh

Answer: Static function in C language with example. In C language programming, static function is a function whose scope (visibility) is limited to the current

Read More
C Interview Questions

What is Size of VOID pointer on multiple platforms?

August 18, 2024January 3, 2016 rsingh

Size of void pointer on 16 bit Platform is : 2 bytes , on 32 bit : 4 bytes and on 64 bit : 8

Read More
C Interview Questions

Explain command line arguments in C, C++ with real scenario

August 18, 2024January 29, 2023 rsingh

Command line arguments in C, C++ programs supply values from outside of a program. The same concept of command line argument is applied to all

Read More
C Interview Questions

memcpy vs strcpy including performance C++

August 18, 2024January 5, 2016 rsingh

memcpy() function: memcpy function copies specified number of bytes from source buffer to destination buffer. Actually, programmer supply the size of data to be copied.

Read More
C Interview Questions

Explain pass by value and pass by reference in C programming

August 18, 2024January 6, 2016 rsingh

Answer: Detailed explanation of pass by value and pass by reference in C programming with example. Parameters to a function can be passed in two

Read More
C Interview Questions

Include guards – why to write in header files – C, C++

August 18, 2024January 8, 2016 rsingh

Answer: The include guards in header file in C, C++ is used to avoid compiler error i.e. redefinition of function, variable or class. The #include

Read More
C Interview Questions

do while Vs while loop in C Programing?

August 18, 2024March 9, 2016 rsingh

Answer: Difference between do while and while loop in C programming: do…while loop guaranteed to execute at least one time whereas while loop does not.

Read More

Posts pagination

1 2 Next

My Unique Books for YOU

All Rights Reserved 2023: Interview Sansar.
Proudly powered by WordPress | Theme: Fairy Blog by Candid Themes.