C Interview Questions

what is the difference between structural,object based,object orientd programming languages?

2617

How can we open a file in Binary mode and Text mode?what is the difference?

2379

can any one tel me wt is the question pattern for NIC exam

NIC,

799

I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed

11413

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

774

Is main() function predfined or userdefined?

7270

what is difference between c and c++

2719

An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee

4837

what is the use of keyword volatile??

3729

Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer

TCS,

1381

TCS,

3310

2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

2715

4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

5567

5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer

7033

what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }

8726

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

739

number of times a digit is present in a number

741

694

using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

425

we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First \$10000/- of income : 4% tax Next \$10000/- of income : 8% tax Next \$10000/- of income : 11.5% tax above \$10, 00,00/- : 15% tax What is the Solution of this Question ?

4

Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

975

in linking some of os executables are linking name some of them

809

please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2045

shorting algorithmS

886

write a programming in c to find the sum of all elements in an array through function.

918

Hi can anyone tell what is a start up code?

829

what is the diffrenet bettwen HTTP and internet protocol

624

what is the different bitween abap and abap-hr?

925

Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

818

Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

709