C Interview Questions
Questions Answers Views Company eMail

what is uses of .net

522

Write a program that accept anumber in words

501

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.

1309




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

605

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,

864

when to use : in c program?

2 1130

write a program to generate address labels using structures?

SJC,

1497

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

837




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

VB,

3 1783

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

1 802

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

1 844

Why array starts with index 0

2 1085

What is Conio.h ?

TCS,

2 1495

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.

469

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

1244


Post New C Questions






Un-Answered Questions { C }

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

786


write a program to print largest number of each row of a 2D array

1151


the question is that what you have been doing all these periods (one year gap)

939


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

738


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

943






which is an algorithm for sorting in a growing Lexicographic order

649


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

707


please explain every phase in the "SDLC" in the dotnet.

1421


FILE PROGRAMMING

1025


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

1271


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

3738


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.

760


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

694


What is C language ?

793


difference between object file and executable file

4275