What is meant by
int fun const(int a, int b) {
....
...
}
Answer / srv
In function 'fun' we have made variable a & b constant.
It means we are never going to alter the values of varibles
(a&b).if tried then error will be messaged.
| Is This Answer Correct ? | 5 Yes | 1 No |
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }
what is used instead of pointers in java than c?
What is string concatenation in c?
What is echo in c programming?
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
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
write a program to print the one dimensional array.
#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); }
My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.
how we do lcm of two no using c simple if while or for statement
write a program to swap two numbers without using temporary variable?