Interview questions
C interview questions – page 55
2,094 questions. Tap “Show answer” to check yourself.
-
Write a c program to add two integer numbers without using arithmetic operator +
-
The output will be#include<stdio.h>int main (){int i;i = 9/2;printf("%i",i);return 0;}
-
When you call malloc() to allocate memory for a localpointer, do you have to explicitly free() it?
-
Write program for palindrome
-
What is difference b/w extern & volatile variable?
-
What is the first address that gets stored in stack according to a C or C++ compiler? or what will be the first address that gets stored when we write a C source code?
-
How compiler selects(internally) required overriddenfunction in inheritance?
-
Is the below things valid & where it will be stored inmemory layout ?static const volatile int i;register struct { } ;static register;
-
Tell about single linked list?. WriteCode for to insert delete node.
-
Compute the nth mumber in the fibonacci sequence?
-
Wats the diff between sealed class and private class in inheritance
-
Program to display given 3 integers in ascending order
-
Write a program which take a integer from user and tell whether the given variable is squar of some number or not.eg: is this number is 1,4,9,16... or not
-
Write the code for Palindrome ?
-
What are the advantages of C++ programming compared to Cprogramming?
-
What are the commands should be given before weiting C Program i.e, Cd.. like
-
What does " calloc" do?
-
WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in cfile management?
-
What is the difference between pass by reference and pass byvalue?
-
What is data Abstraction? and give example
-
What is aggregation and composition ?
-
What is the difference between auto and static keywords
-
Explain the Scope of public/private/friend/protected/protected friend.
-
Write a program to swap Two numbers without using temp variable.
-
Define function
-
WHAT IS FORCE COMPILE?
-
Overloding and overriding.
-
Add 2 64 bit numbers on a 32 bit machine
-
Why data types in all programming languages have some range? Why ritche have disigned first time likethat? Why not a single data type can support all other types?
-
What are the important concepts in OOPS