Explain why can’t constant values be used to define an array’s initial size?
No Answer is Posted For this Question
Be the First to Post Answer
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); }
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
What are preprocessor directives?
Software Interview Questions
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
What is typeof in c?
What is variable declaration and definition in c?
What is encapsulation?
why we use pointer in c
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
When the macros gets expanded?
for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float