C Interview Questions
Questions Answers Views Company eMail

what is uses of .net

566

Write a program that accept anumber in words

537

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.

1385




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

652

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,

924

when to use : in c program?

2 1220

write a program to generate address labels using structures?

SJC,

1566

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

872




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

VB,

3 1875

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

1 853

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

1 903

Why array starts with index 0

2 1153

What is Conio.h ?

TCS,

2 1580

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.

505

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

1314


Post New C Questions






Un-Answered Questions { C }

Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

972


hi send me sample aptitude papers of cts?

933


c program for searching a student details among 10 student details

989


how to capitalise first letter of each word in a given string?

772


write a program to display all prime numbers

768






What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

765


What is your favorite subject?

181


Want to know how to write a 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 total number of disk writes by MySQL.

879


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1122


what are non standard function in c

706


write a program to rearrange the array such way that all even elements should come first and next come odd

1019


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

817


c language interview questions & answer

764


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1090


Wt are the Buses in C Language

2053