What is the memory allocated by the following definition ?
int (*x)();
Answers were Sorted based on User's Feedback
Answer / dddhacker
Wrong!
Its a function pointer, therefore on a 32 bit platform for
example, 4 bytes are allocated for it.
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / ningappa
The above code is function pointer declaration.So there is
no memory allocated as it is just declaration and no value
is being assigned to it........
Is This Answer Correct ? | 6 Yes | 3 No |
hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES
Are there constructors in c?
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
Explain the array representation of a binary tree in C.
Write 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 Answers Drona Solutions, Infosys, Vodafone, Webyog,
Explain is it valid to address one element beyond the end of an array?
when user give a number it multiply with 9 without useing '+' and '*' oprator
What are the 4 types of programming language?
do you think its fraud or original company?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
Why enum is used in c?
What are qualifiers in c?