C Interview Questions
Questions Answers Views Company eMail

what is uses of .net

1372

Write a program that accept anumber in words

1345

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.

2352

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

1567

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,

1864

when to use : in c program?

2 2784

write a program to generate address labels using structures?

SJC,

4156

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

1700

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

VB,

3 4896

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

1 1963

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

1 2098

Why array starts with index 0

2 2997

What is Conio.h ?

TCS,

2 3550

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.

1438

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

3504


Post New C Questions

Un-Answered Questions { C }

What is the meaning of typedef struct in c?

702


What is the size of enum in bytes?

689


How can you call a function, given its name as a string?

812


How would you use the functions fseek(), freed(), fwrite() and ftell()?

809


Is c still used?

706






Why main is used in c?

696


what is the difference between 123 and 0123 in c?

840


Is there anything like an ifdef for typedefs?

811


Is void a keyword in c?

683


In C programming, what command or code can be used to determine if a number of odd or even?

717


What does *p++ do?

694


Can we change the value of #define in c?

686


Explain enumerated types in c language?

697


Explain the difference between strcpy() and memcpy() function?

694


Why is c used in embedded systems?

726