What is the use of static variable in c?
No Answer is Posted For this Question
Be the First to Post Answer
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
Explain that why C is procedural?
What is Full Form of C and Why We use C
Explain the concept and use of type void.
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
How do you search data in a data file using random access method?
can we print any string without using terminator?
How can you increase the size of a dynamically allocated array?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What is a structure in c language. how to initialise a structure in c?