C Interview Questions
Questions Answers Views Company eMail

WAP – represent a char in binary format

Wipro, Motorola,

4 4609

what is memory leak?

3 4306

what is the difference between and "stdio.h"

Mastek, Kanbay, Invendis, MathWorks,

14 44286




which will be first in c compiling ,linking or compiling ,debugging.

Sonata,

3 5210

Write a program in C to convert date displayed in gregorian to julian date

Wipro, HCL,

1530

difference between memcpy and strcpy

1 10888

What's the best way to declare and define global variables?

7 9725

What does extern mean in a function declaration?

4 33298




How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 7977

What's wrong with "char *p = malloc(10);" ?

4 7124

What is the difference between char a[] = "string"; and char *p = "string"; ?

Adobe, TCS, Honeywell,

14 30836

How do I initialize a pointer to a function?

2 9427

What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?

3 6745

Can I pass constant values to functions which accept structure arguments?

2 5935

Why doesn't the code "a[i] = i++;" work?

4 8991


Post New C Questions






Un-Answered Questions { C }

How do we make a global variable accessible across files? Explain the extern keyword?

721


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1766


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

870


c program for searching a student details among 10 student details

969


What is the code for 3 questions and answer check in VisualBasic.Net?

1004






simple program of graphics and their output display

781


Write a C program to count the number of email on text

787


How to delete a node from linked list w/o using collectons?

1393


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1141


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.

895


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

852


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

501


in linking some of os executables are linking name some of them

902


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

934


write a c program to find the sum of five entered numbers using an array named number

950