What will be the output of following program? #include <stdio.h> int main() { int i=-1, j=-1, k=0, l=2, m; m= i++ && j++ && k++ || l++; printf("%d…
What will be the output of following program?
#include <stdio.h>
int main() {
int i=-1, j=-1, k=0, l=2, m;
m= i++ && j++ && k++ || l++;
printf("%d %d %d %d %d", i, j, k, l, m);
return 0;
}From the Dhaka WASA Assistant Maintenance Engineer (Network) July 2025 – Written (BUET) exam, question 6 of 15.
More from this paper
- Previous: Given the network 245.248.128.0/20, divide the address space among three departments as follows: (a) Manager: half of the address space…
- Next: From an Employee table. Write SQL statement statement according to the following question: (a) Find out the employees who join the same…
- All questions in Dhaka WASA Assistant Maintenance Engineer (Network) July 2025 – Written (BUET)