React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in C++ by
What is the output of this C code?

    #include <stdio.h>
    int main()
    {
        int i = 3;
        int l = i / -2;
        int k = i % -2;
        printf("%d %d\n", l, k);
        return 0;
    }
a.Compile time error
b.1 -1
c.Implementation defined
d.-1 1
Click here to read more about C++

Related questions

Madanswer
+1 vote
+1 vote
0 votes
asked Jun 11 in C++ by Robindeniel
+1 vote
asked Jun 13, 2019 in C++ by Derya
...