Interview questions
C interview questions – page 43
2,094 questions. Tap “Show answer” to check yourself.
-
Main(){printf("%d, %d", sizeof('c'), sizeof(100));}
-
Void func1(int (*a)[10]){printf("Ok it works");}void func2(int a[][10]){printf("Will this work?");}main() { int a[10][10];func1(a); func2(a);}
-
How can I access the registry from C# code?
-
What is the heap?
-
Explain what is an object?
-
What are storage class in c?
-
What optimizations does the C# compiler perform when you use the /optimize+ compiler option?
-
Given an integer N>0,write a recursive c++ function that writes the integer 1,2,...N ?
-
Define Data encpsulation?
-
What is virtual class and friend class?
-
Explain about multiple inheritance?
-
Explain the usage of encapsulation?
-
Write a program for n lines1 2 3 4 516 17 18 19 615 24 25 30 714 23 22 21 813 12 11 10 9
-
What is a pointer value and address?
-
What is the use of typedef?
-
What is polymorphism? Explain with an example?
-
What is public, protected, private?
-
How is method overriding different from overloading?
-
What is the difference between the functions memmove() and memcpy()?
-
What are all the languages which support OOP?
-
Explain the mechanism of composition?
-
I want source code of series of prime numbers?
-
Difference between realloc() and free()?
-
How to swap the content of two variables without a temporary variable
-
What does assert() do?
-
How to write a program in c to print its own code?
-
What are virtual functions?
-
How are pointer variables initialized?
-
Is there any sample C# code for simple threading?
-
What is a const pointer?