c language interview questions & answer
Answer / Mukul Mudit Mishra
Answering all C Language interview questions would result in a lengthy response that goes beyond the scope of this platform. However, here are some common questions and their brief answers:
1. What is a pointer in C?
- A pointer in C is a variable that stores the memory address of another variable or data type. It allows direct manipulation of memory locations.
2. What is the difference between call by value and call by reference in C?
- Call by value passes a copy of the argument to the function, whereas call by reference modifies the original variable within the function.
3. What are structs in C?
- Structures (struct) in C are user-defined data types that allow combining multiple data items into a single entity.
| Is This Answer Correct ? | 0 Yes | 0 No |
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES
write a program to compare 2 numbers without using logical operators?
what is event driven software and what is procedural driven software?
int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }
What is boolean in c?
hi how to convert program from notepad to turboc editor can u please help me
What are keywords in c with examples?
In which header file is the null macro defined?
Is the following code legal? struct a { int x; struct a b; }
main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?
what is Structural oriented language? give some example of this language.....?
Can you write the algorithm for Queue?
1 Answers College School Exams Tests, TCS,