what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
1 3847How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?
2 4420Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.
2 11249write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
3 4971FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
4 68444) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 7962
Explain about the constants which help in debugging?
How do you generate random numbers in C?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
How many data structures are there in c?
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 const keyword in c?
Differentiate between the = symbol and == symbol?
Why c is known as a mother language?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
How do shell structures work?
What is function prototype in c with example?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What do mean by network ?
Can we compile a program without main() function?
What will the preprocessor do for a program?