C Interview Questions
Questions Answers Views Company eMail

what is uses of .net

605

Write a program that accept anumber in words

564

7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1447




Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

687

4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

TCS,

972

when to use : in c program?

2 1274

write a program to generate address labels using structures?

SJC,

1601

5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

894




#include void main() { int =1; printf("%d%d%d",a++,++a,++a); }

VB,

3 1985

sum of two integers values only other then integer it should print invalid input.

1 895

c program to input values in a table(using 2D array) and print odd numbers from them

1 947

Why array starts with index 0

2 1235

What is Conio.h ?

TCS,

2 1641

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.

545

write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1391


Post New C Questions






Un-Answered Questions { C }

Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

1392


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2112


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

2134


Difference between Shallow copy and Deep copy?

910


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

982






how to build a exercise findig min number of e heap with list imlemented?

867


Without Computer networks, Computers will be half the use. Comment.

1098


How to implement a packet in C

1673


code for replace tabs with equivalent number of blanks

879


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

803


all c language question

1099


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

1832


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.

842


Can you write the algorithm for Queue?

880


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

1055