C Interview Questions
Questions Answers Views Company eMail

how to swap two integers 1 and 32767 without using third variable

TCS, Microsoft,

11 9170

difference between ordinary variable and pointer in C?

2 6234

application attempts to perform an operation?

727




how logic is used

754

Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

1227

what is use of malloc and calloc?

652

why programming language C is still used in operating system's kernel??

Wipro,

1 2245

c program to arrange digits in a no in ascending and descending order

1 9316




1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do

Nagarro, AAS, Vuram,

1 15231

what value is returned to operating system after program execution?

849

what will be maximum number of comparisons when number of elements are given?

683

What is the output of the program #include #include void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

CTS, Oracle,

4 5308

what is the c.

TCS, IBM,

3 2899

int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }

1 2352

main() { int i; printf("%d",i^i); }

1 1436


Post New C Questions






Un-Answered Questions { C }

WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

775


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

3008


Explain the process of converting a Tree into a Binary Tree.

1154


write a proram to reverse the string using switch case?

1460


difference between object file and executable file

4275






c program for searching a student details among 10 student details

948


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

1522


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

881


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

224


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

763


what is the difference between class and unio?

1112


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

713


how to find binary of number?

1845


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

994


what is bit rate & baud rate? plz give wave forms

786