I have a function which accepts a pointer to an int. How
can I pass a constant like 5 to it?
Answer Posted / guest
You will have to declare a temporary variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is better pointer or array?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What is a stream?
Tell me can the size of an array be declared at runtime?
Is int a keyword in c?
How do you declare a variable that will hold string values?
What is difference between union and structure in c?
Is c weakly typed?
What do you mean by scope of a variable in c?
How many header files are in c?
What is static memory allocation?
How do I round numbers?
What is #line?
What are void pointers in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.