Which of the following describes a template with a variable number of arguments?
Which of the following statements about pointers is correct?
What is the output of the following code?
c
int main() {
int a = 42;
int *p = &a;
printf("%d", *p++);
return 0;
}
Which of the following is not a microcontroller?
What does the following code output?
cpp
#include
#include
int main() {
std::string str("AdvancedCpp");
str.back() = '!';
std::cout << str << std::endl;
return 0;
}
How many null branches does a binary tree with 27 nodes have?
Which hardware support improves AI and automation performance on Linux?
Which scheduling algorithm is commonly used in RTOS?
In a preemptive RTOS, when a higher-priority task becomes ready, the kernel:
What is a move constructor in C++?
Which RTOS feature helps AI run predictably?
In a robot, which motor type provides precise angular position control?
The time taken by a system to respond to an interrupt is called
Which OS feature helps run AI or automation tasks efficiently?
What is the main controller unit in most mobile robots?
Which of the following best defines a functor in C++?
What would be the output of the following code?
c
#define call(x) #x
void main() {
printf("%s", call(c/c++));
}
In C, the FILE data type is defined as
What is the output of the following code?
c
#include
int main() {
int x = 5;
int y = (x++) + (++x);
printf("%d", y);
return 0;
}
Consider the program main
main ()
{
double a[2][3];
printf("%d ", sizeof(a));
printf("%d ", sizeof(a[1]));
printf("%d ", sizeof(a[1][1]));
}
The output for this program:
What is a correct statement about std::async?
Which statement about smart pointers is correct?
Which signal is used to terminate a process?
1The function of the Watchdog Timer is to
Which mechanism allows capturing variables from the enclosing scope in a lambda expression?
Which command is used to execute a shell script?
Priority inversion occurs when:
What is the output of this code?
c
if(printf("cquestionbank"))
printf("I know c");
else
printf("I know c++");
What will printf("%c", 100); print?
Flash memory in a microcontroller is used to store
What does the sizeof(char) operator return in a 32-bit compiler?
Which function is used to modify the previously allocated space in memory?
What does the `grep` command do?
What does the explicit keyword in a constructor declaration in C++ do?
What is the use of std::move in C++?
In C++, what does the mutable keyword indicate?
Which command is used to create a simple automation script in Linux?
In robotics, which sensor is commonly used for obstacle detection?