main()
{
char ch='356';
Printf("%d",ch);
}
*OUTPUT*:-
-18
*Why?*
Which is the memory area not included in C program? give the reason
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
If I have a char * variable pointing to the name of a function ..
what is stack , heap ,code segment,and data segment
How many ways are there to swap two numbers without using temporary variable? Give the each logic.
What should malloc(0) do?
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }
What are the advantages of using macro in c language?
What is wrong with this declaration?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..