C Interview Questions
Questions Answers Views Company eMail

write a program for the normal snake games find in most of the mobiles.

Wipro, Accenture,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

IBM, HCL, Satyam, Vimal, Vimukti Technologies,

2 4391

how to reverse string "Hello World" by using pointers only. Without any temp var

1 5346

What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?

2 2034

what is the return type of printf

3 2930

what is difference between ANSI structure and C99 Structure?


1 2949

struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?


1 2963

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 2229

Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

Accenture, IBM, TCS, Vimukti Technologies, Gridco, Kevin IT,

7 6359

what is the difference b/w NULL and null?


3 3390

void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }

3 3845

what is the meaning of java that is (J A V A) full form of JAVA

BPO, HCL, BNL, Peacecon, AKS University, Bhel,

71 210962

what type of questions arrive in interview over c programming?


main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 2659

In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 1370

Post New C Questions

Un-Answered Questions { C }

can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f


What is the difference between if else and switchstatement


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.


Which is the memory area not included in C program? give the reason


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software


all c language question


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?


please send me the code for multiplying sparse matrix using c


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.


Difference between Shallow copy and Deep copy?


simple program of graphics and their output display


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................