What is the index number of the last element of an array with 9 elements?
The attribute used to name an element uniquely is _____.
Does a function exist to convert an integer or float to a string?
The concept of inheritance provides the idea of _________ of the code.
This function compares up to a specified number of characters between two null-terminated strings.
What is the output of the following program?
void func()
{
printf("Abeskus.co");
}
int main()
{
void (*fp)() = func;
(*fp)();
}
What is the output of the following C program?
void junk(int k, int *l)
{
k = k * *l;
*l = *l * *l;
}
int main()
{
int k = -5, l = -2;
junk(k, &l);
printf("%d %d", k, l);
}
What does the following C declaration mean?
int (*fp)(char*)
What will be the output of the following C++ code?
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
int main(int argc, char const *argv[])
{
int &p;
int a = 5;
&p = a;
cout<<p;
return 0;
}
#include<stdio.h>
int main()
{
char *s[]={"Abekus","learning","knowledge"};
cahr **p;
p=s;
printf("%s ",++*p);
printf("%s ",*p++);
printf("%s ",++*p);
return 0;
}