Message from C, C++ talks

July 2019

β€” If it's a variable array only then the operand is evaluated here it's a variable so it's not evaluated,simply returns the size of int

Message permanent page

β€” Please don't warn me, I got an answer myself in the google.

β€” Mee to... Bt I can't share as I have got 1 warning earlier.πŸ˜‚

β€” Not enough arguments!

β€” 

Are there any tools to convert C code to Python because i need the python equivalent for the below C code:

Can anyone provide me the python code conversion for the below mentioned code

#include <stdio.h>

int main()
{
int kases;
scanf("%d", &kases);
while(kases--) {
int N;
scanf("%d", &N);

for(int i = 1; i <= N; ++i) {

if(i % 3 == 0 && i % 5 == 0) printf("FizzBuzz\n");
else if(i % 3 == 0) printf("Fizz\n");
else if(i % 5 == 0) printf("Buzz\n");
else printf("%d\n",i);
}
}

return 0;
}

Regards,

Sriyam

β€” Seems to be easy, why won’t you rewrite it?

β€” Can someone suggest me an alternative bot to joinhidder bot

β€” /saved

β€” List of notes in C/C++:
- 0_to_show_item_use"#item"
- awesomeness
- best
- best-book
- bingo
- callingfunction
- cbook
- `c++_isnt_c_with_classes`
- cpp
- cppbook
- findprojects
- freeprogrammingbooks
- gcc9
- goodcodingmentality
- goodgoogling
- googleit
- great
- hownottoask
- howtoask
- howtopostcode
- howtoprogram
- ide
- learn
- mcve
- meta
- noendl
- nousingstd
- offtopic
- ossu
- ot
- reference-the-standard
- rules
You can retrieve these notes by using /get notename, or #notename

Message permanent page

β€” #freeprogrammingbooks

β€” Https://github.com/p-r-y-l/free-programming-books

β€” #cppbook

β€” #cbook

β€” Https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list

β€” #howtoprogram