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