Can I pass constant values to functions which accept structure
arguments?
Answer Posted / guest
No. C has no way of generating anonymous structure values.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
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?
Can true be a variable name in c?
What is a good data structure to use for storing lines of text?
Is a pointer a kind of array?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Can you please explain the difference between strcpy() and memcpy() function?
Is register a keyword in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What are the disadvantages of a shell structure?
What is a substring in c?
Explain Basic concepts of C language?
What are the advantages of c language?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Is c pass by value or reference?