Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
2 8764
1. What does the following do:
void afunction(int *x)
{
x=new int;
*x=12;
}
int main()
{
int v=10;
afunction(&v);
cout<
Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];
4 9436Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
4 12016Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
2 7459class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
4 11873
What is the correct code to have following output in c using nested for loop?
What python frameworks do you know?
What is .ocx file?
What is module in python?
What is the function used for adding datasets in R?
Write a function to find the nth item from the end of a linked list in a single pass.
what does mean and stack mean in genral programming?
Explain what is operator promotion?
How do you connet mysql database with php?
What is ltrim?
What are the functions to be used to get the image's properties (size, width and height)?
How to access sessions in flask?
Why gii is used?
Do the content management systems generate the code that are compliant to the various standards of coding?
Do you need php for wordpress?