Answer Posted / ravishankar b.m
pointer is a variable which holds the address of another
variable.
only integer pointer can be used for pointer.
eg: int *ptr
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can I rethow can I return a sequence of random numbers which dont repeat at all?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is scope rule of function in c?
Add Two Numbers Without Using the Addition Operator
Here is a neat trick for checking whether two strings are equal
What are actual arguments?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Is fortran still used today?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is the best style for code layout in c?
What is calloc()?
How to write c functions that modify head pointer of a linked list?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Tell me the use of bit field in c language?
what will be the output for the following main() { printf("hi" "hello"); }