Interview questions
C interview questions – page 41
2,094 questions. Tap “Show answer” to check yourself.
-
Why don't we add null pointer at the end of array of integer? How can we calculate the length of array of integer?
-
What is pointers and its uses?
-
How to print the names of employees or students in alphabetical order using C programming?
-
Explain about polymorphism?
-
What is a method?
-
Explain about overriding polymorphism?
-
How would you obtain the current time and difference between two times?
-
C is a structural or highlevel or middle level language which one is correct answer
-
What is a pre-requisite for connection pooling?
-
I was trying to use an "out int" parameter in one of my functions. How should I declare the variable that I am passing to it?
-
What is the difference between // comments, /* */ comments and /// comments?
-
#define SQR(x) x * xmain(){printf("%d", 225/SQR(15));}
-
When does the compiler not implicitly generate the address of the first element of an array?
-
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
-
What is difference between function and procedure and how a function can be converted to procedure?
-
Main(){char c;int i = 456;clrscr();c = i;printf("%d", c);}
-
If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?
-
How should i rate on the basis of the basis of the scenario the insertion sort , bubble sort , Quick Sort?
-
How to break cycle in circular single link list?
-
What is class? What is object? Describe these 2 with example.
-
Nesting of loops in C may continue upto how many levels?
-
Does C# support parameterized properties?
-
What is a function and built-in function?
-
#include <stdio.h>int main(){int a=3, b = 5;printf(&a["Ya!Hello! how is this? %s"], &b["junk/super"]);printf(&a["WHAT%c%c%c%c%c%c !"], 1["this"],2["beauty"],0["tool"],0["is"],3["sensitive"],4["CCCCCC"]);return 0;}
-
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
-
What is friend function?
-
How to find the difference between dates.(Year, Month, Day)?
-
What is an lvalue?
-
Does C# support C type macros?
-
Main(){char *p = "hello world";p[0] = 'H';printf("%s", p);}