Interview questions
C interview questions – page 34
2,094 questions. Tap “Show answer” to check yourself.
-
Is it possible to inline assembly or IL in C# code?
-
What is the draw back in using friend function in c++
-
What is a ?null pointer assignment? error? What are bus errors, memory faults, and core dumps?
-
Can anyone please tell me about a website from which I could install Turbo C (compiler) for free?
-
Main(){int x=5;clrscr();for(;x==0;x--) {printf("x=%dn?", x--);}}
-
What do you mean by inline function?
-
According to ANSI specifications which is the correct way of declaring main() when it receives command line arguments?
-
Write a program to delete an element from an array?
-
What would be the output of the following program? main() { char near * near *ptr1; char near * far *ptr2; char near * huge *ptr3; printf("%d %d %d",sizeof(ptr1),sizeof(ptr2),sizeof(ptr3)); }
-
Can I define a type that is an alias of another type (like typedef in C++)?
-
Write a c++ programme in order to find the day you born,such that the programmer will take your birth date (day-month-year)?
-
How to print 1 to 100 without using any conditional loop?
-
C# constructors cannot be inherited.Why?
-
What is #line used for?
-
Main(int x)...explaination on arguments passed thr' main
-
How to decide even and odd values without decision making loops?
-
If I return out of a try/finally in C#, does the code in the finally-clause run?
-
How more than 2 integers or any characters may be randomly swap?
-
Why do I get a security exception when I try to run my C# app?
-
Is JIT compiler in .Net is vendor specific?i mean ,can we download it and use in other any language compiler?
-
What are the advantages of the functions?
-
Main(){int i;clrscr();for(i=0;i<5;i++){printf("%dn", 1L << i);}}
-
How do you generate documentation from the C# file commented properly with a command-line compiler?
-
How do you inherit from a class in C#?
-
What is namespace?
-
Main(){int i = 100;clrscr();printf("%d", sizeof(sizeof(i)));}
-
Code for swapping of two numbers without using temporary variable using C.
-
How to connect a database (MS Access) to Borland C? Please give me step by step coding.
-
When function say abc() calls another function say xyz(), what happens in stack?
-
What is the benefit of using const for declaring constants?