Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
#include <stdio.h> #define prod(i,j) i*j int main() { int x=3,y=4; printf(" %d \n",prod(x+1,y)); } output :7
c
define
preprocessor
0 Votes
2 Answers
21st Nov 2019, 6:03 PM
mohamed Issati
Which error occurs when I use #define a=6; and the assign it some other value say a=9;
c++
define
error
1 Vote
1 Answer
18th Jun 2019, 2:22 AM
Akash Raj
Can you use the #define preprocessor to convert any value stored in a variable to string?
c
define
preprocessor
type-conversion
0 Votes
1 Answer
11th Apr 2020, 2:45 PM
Atiksh Mittal
#include<stdio.h> #define MAN(x, y) ((x)>(y)) ? (x):(y); int main() { int i=10, j=5, k=0; k = MAN(++i, j++); printf("%d, %d,
c
program
1 Vote
2 Answers
21st Oct 2018, 6:20 PM
LYDIA JENNIFER P
Does preprocessing makes our code faster?
#define
c++
define
function
preprocessor
2 Votes
2 Answers
27th Jun 2020, 3:52 PM
Abhishek Dimri
C++ preprocessor and user input on SoloLearn
#define
#else
#endif
#ifndef
cpp
preprocessor
user_input
1 Vote
2 Answers
13th Feb 2019, 7:50 PM
DLZaan
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
Next >
Hot today
I am new in python
2 Votes
Can we collab?
3 Votes
Calculator
0 Votes
please who can help with some key points about web design
0 Votes
Pawed by JAVA đđđđ»do think it's good to learn know or not
1 Votes
I'm new in js
0 Votes
Ethical Hacker
0 Votes
Two numbers addition
0 Votes
working with list > Game Machine
0 Votes
Audio trouble
0 Votes