Write a program with dynamically allocation of variable.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

marge linklist

0 Answers   HCL,


What is equivalent to ++i+++j?

0 Answers  


What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }

5 Answers  


How can I open a file so that other programs can update it at the same time?

0 Answers  


Explain what are the different data types in c?

0 Answers  


How do you write a program which produces its own source code as output?

0 Answers  


using only #include <stdio.h> and #include <stdlib.h> 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.

0 Answers  


Explain union. What are its advantages?

0 Answers  


How can I read/write structures from/to data files?

0 Answers  


enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program

1 Answers  


what are threads ? why they are called light weight processes ? what is the relation between process and threads ?

1 Answers  


What does calloc stand for?

0 Answers  


Categories