C Interview Questions
Questions Answers Views Company eMail

What is the difference between declaring a variable by constant keyword and #define ing that variable?

1 2649

What is the use of keyword VOLATILE in C?

1 2659

What is Function Pointer? Explain with example?

3 4949

how to print this pyramid * * * * * * * * * * * * *

2 3747

Calculate 1*2*3*____*n using recursive function??

1490

how to write a prog in c to convert decimal number into binary by using recursen function,

1 3034

print out of string in this format; 1. "rajesh" 2. \n 3. %d

mpower,

5 4647

write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

HCL,

2 9943

Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 7264

int x=sizeof(!5.856); What will value of variable x?

2 6039

how can we Declare a variable in c without defining it.

TCS,

1 4471

how to execute a program using if else condition and the output should enter number and the number is odd only...

1623

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.

1501

main() { int a=4,b=2; a=b<>2; printf("%d", a); }

CTS,

4 10214

what different between c and c++

1 2078


Post New C Questions

Un-Answered Questions { C }

Explain the concept and use of type void.

597


Can i use “int” data type to store the value 32768? Why?

734


What is a node in c?

524


Which is more efficient, a switch statement or an if else chain?

555


What are the different file extensions involved when programming in C?

725






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

1968


explain what are pointers?

587


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1494


What is the use of a static variable in c?

557


Explain how can you determine the size of an allocated portion of memory?

594


What is the use of gets and puts?

574


Can you assign a different address to an array tag?

665


What is the difference between malloc calloc and realloc in c?

621


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

737


What is ## preprocessor operator in c?

595