C Interview Questions
Questions Answers Views Company eMail

write a program to print the all 4digits numbers & whose squares must me even numbers?

Virtusa,

2 3908

What is the main differences between C and Embedded C?

9 52665

Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me

7 5162




We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

NIIT,

4 7248

How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

NIIT,

4 5743

what are advantages of U D F?

Google,

1 1094

hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

696

Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 2480




Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 1932

Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986

2 2292

print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5

IBM,

7 8065

Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321

HCL,

7 7945

C program to find all possible outcomes of a dice?

1166

C program to find frequency of each character in a text file?

5 27466

write a own function for strstr

LG Soft,

1 9258


Post New C Questions






Un-Answered Questions { C }

Why is it important to memset a variable, immediately after allocating memory to it ?

813


pierrot's divisor program using c or c++ code

984


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...

3738


code for quick sort?

809


if p is a string contained in a string?

684






Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }

861


what is the different bitween abap and abap-hr?

967


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

720


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

811


Write a c program to build a heap method using Pointer to function and pointer to structure ?

3439


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2495


What is pre-emptive data structure and explain it with example?

2440


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

931


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

3678


what is stack , heap ,code segment,and data segment

1496