C Interview Questions
Questions Answers Views Company eMail

Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +

1 1709

how can i get output like this? 1 2 3 4 5 6

Excel,

6 3465

what is the output of following question? void main() { int i=0,a[3]; a[i]=i++; printf("%d",a[i] }

3 2473




WHAT IS MEANT BY LIFE?

2 2081

what is the difference between c and java?

1 2780

what is mallloc()?how it works?

Excel,

4 3757

how can we use static and extern?and where can we use this?

Excel,

3 4456

how to use enum datatype?Please explain me?

Excel,

3 3389




What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?

Excel,

1 3270

What are the languages are portable and platform independent?Why they are like that?

Satyam, Excel,

1 2293

pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?

kenexa, eClerx, Excel,

2 5933

how can i get this by using for loop? * ** * **** * ******

Excel,

3 2401

#include int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks

Excel,

9 7752

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?

Excel,

2 2723

write a program structure to find average of given number

1 3855


Post New C Questions






Un-Answered Questions { C }

Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

774


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

722


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1152


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1002


Stimulate calculator using Switch-case-default statement for two numbers

1802






Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

814


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1197


Why we not create function inside function.

991


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

1176


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 ?

111


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.

292


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

3913


what will be the output for the following main() { printf("hi" "hello"); }

5411


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

799


can any one provide me the notes of data structure for ignou cs-62 paper

1026