How to use c/c++ code in JAVA
Answer Posted / mohmedali
use c/ c++ linkage specifications
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Why flag is used in c?
What is an auto variable in c?
Not all reserved words are written in lowercase. TRUE or FALSE?
What is the default value of local and global variables in c?
Which driver is a pure java driver
Explain the difference between call by value and call by reference in c language?
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 general form of #line preprocessor?
What are # preprocessor operator in c?
How to write a multi-statement macro?
what is different between auto and local static? why should we use local static?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is cohesion in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
In a switch statement, explain what will happen if a break statement is omitted?