C Interview Questions
Questions Answers Views Company eMail

write a c program to accept a given integer value and print its value in words

Vernalis Systems,

4 16775

what is the benefit of c30

2 4319

what is the difference between declaration ,defenetion and initialization of a variable?

LG Soft,

7 20832




what do u mean by Direct access files? then can u explain about Direct Access Files?

LG Soft,

931

why we shiuld use main keyword in C

5 5719

What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 5921

what is c?

Tech Mahindra,

7 7084

what is object oriental programing?

1 2776




Give me basis knowledge of c , c++...

5 3294

Give basis knowledge of web designing ...

HCL,

832

without a terminator how can we print a message in a printf () function.

NIIT,

7 5307

Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???

TCS,

2 10041

what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }

4 2889

You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

Microsoft,

2 4810

what is the code for getting the output as * ** ***

Caritor,

5 3394


Post New C Questions






Un-Answered Questions { C }

program for reversing a selected line word by word when multiple lines are given without using strrev

1181


what is the different bitween abap and abap-hr?

966


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

1819


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1823


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

811






write a program to display all prime numbers

721


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

157


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

877


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

783


FILE PROGRAMMING

1004


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

685


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1580


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

810


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

1325


what is event driven software and what is procedural driven software?

1230