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