What is methods in c?


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

Post New Answer

More C Interview Questions

write a program for size of a data type without using sizeof() operator?

22 Answers   HCL, IBM,


explain what are pointers?

0 Answers  


What is the purpose of void in c?

0 Answers  


How can you restore a redirected standard stream?

0 Answers  


What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,






Is c is a high level language?

0 Answers  


Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program

5 Answers   Mascot,


Is null always equal to 0(zero)?

0 Answers  


how to write hello word without using semicolon at the end?

6 Answers   Accenture,


Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?

2 Answers   Accenture,


write a program to fined second smallest and largest element in a given series of elements (without sorting)

9 Answers   Yahoo,


Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?

1 Answers   Microsoft,


Categories