-
Index
C,C++ Questions
1. Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
object,. calling of that virtual method will result in which method being called?
a. Base method
b. Derived method..
Ans. b
2. For the following C program
#define AREA(x)(3.14*x*x)
main()
{float r1=6.25,r2=2.5,a
a=AREA(r1)
printf("
Area of the circle is f", a)
a=AREA(r2)
printf("
Area of the circle is f", a)
}
What is the output?
Ans. Area of the circle is 122.656250
Area of the circle is 19.625000
3. What do the following statements indicate. Explain.
• int(*p)[10]
• int*f()
• int(*pf)()
• int*p[10]
Refer to:
-- Kernighan & Ritchie page no. 122
-- Schaum series page no. 323
- 2011-03-15 14:24:46下载
- 积分:1
-
svm_v0.54beta.tar
SVM 程序 用于模式识别 小样本学习
(SVM pattern recognition procedures for the small sample study)
- 2006-11-30 13:30:37下载
- 积分:1
-
test1D
利用MP,OMP,COSAMP算法处理一维信号比较(comparative of compressive sensing using mp,omp,cosamp )
- 2012-05-28 21:05:49下载
- 积分:1
-
cvxccvthomas
Other program to estimate heterogeneous firm model
- 2013-05-23 23:33:58下载
- 积分:1
-
Predict_duffing_with_bp
利用matlab自带的BP神经网络工具箱对duffing混沌背景模型进行相空间重构与预测,程序中已经给出duffing函数,主函数中也给出了主要注释,方便大家学习交流。(BP' s own use matlab neural network toolbox for duffing chaotic background model and prediction of phase space reconstruction, the program has been given duffing function, the main function also gives the main note, we facilitate learning exchanges.)
- 2014-01-04 09:48:04下载
- 积分:1
-
Untitled
Create a table for managing procurement for many people.
- 2010-02-04 20:41:59下载
- 积分:1
-
QAM
在MATLAB环境中实现基于8QAM的信号调制解调(In the MATLAB environment 8QAM based on the signal modulation and demodulation)
- 2009-06-01 15:45:00下载
- 积分:1
-
OFDM-MATLAB
接收端采用的算法和程序流程与发送端发送的OFDM符号的帧结构有关系(Receiver using the algorithm and program flow with the sender sending the OFDM symbol of the frame structure of relations)
- 2010-05-24 21:02:24下载
- 积分:1
-
AM_GENERATE
generating AM signal to use in adaptive algorithm for remove direct path in passive radar
- 2012-08-08 19:43:52下载
- 积分:1
-
ACMmodelnps
数字伺服系统MATLAB仿真,使用simulink做的,PID控制(ACMmodelnps.mdl MATLAB example,PID CONTROL)
- 2010-06-16 15:42:47下载
- 积分:1