C Interview Questions
Questions Answers Views Company eMail

what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1919

#include #include void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }

TCS,

9 11021

Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1880

how can we print  hellow world programme without using semicolon

3 4656

Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)

1 2194

One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2147

1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file

1 6793

A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1505

What is the relationship between pointers and data structure?

1447

#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 4252

write a c program to find the probability of random numbers between 1-1000

ADS,

1934

Why ordinary variable store only one value  

1336

why ordinary variable store the later value not the initial

1 1818

write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

Philips,

1 2257

Program to swap the any two elements in an array containing N number of elements?

Bosch, Glenwood, Ugam Solutions,

1 4974


Post New C Questions

Un-Answered Questions { C }

Is c object oriented?

528


Why is sprintf unsafe?

609


What is wrong with this code?

683


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2524


any "C" function by default returns an a) int value b) float value c) char value d) a & b

656






Write a program to print “hello world” without using semicolon?

663


What is the default value of local and global variables in c?

551


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

1727


What is extern variable in c with example?

530


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

712


What is an auto keyword in c?

631


How can I remove the leading spaces from a string?

623


Are there any problems with performing mathematical operations on different variable types?

563


How do you list files in a directory?

553


In a switch statement, what will happen if a break statement is omitted?

596