2. What does static variable mean?
Answers were Sorted based on User's Feedback
Answer / sai
static variable in c defined as the value of the static
variable is fixed in that program.
That means the chages will not effect the static variable
values.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / avik bagh
A static variable is a variable that you can call and use without using an object of the class it is a part of. You can use a static variable using just the class name.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to print %d in output
what is link list?
When do we get logical errors?
What is a nested loop?
main() { int i; printf("%d",i^i); }
Write a code to generate a series where the next element is the sum of last k terms.
write a 'c' program to sum the number of integer values
what is the different between if-else and switch statment (other than syntax)
26 Answers CTS, Oracle, Scorpos,
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
Subtract Two Number Without Using Subtraction Operator