why do we type cast malloc into int*? the instructor said malloc returns a void* pointer. can someone explain the difference. how can a memory location be void type?
both get and post request works the same way. then wats the difference between both methods? 🤔
https://pastebin.com/RRUBJMk7 i wrote this linkedlist code last night and now i dont understand why i am assigning last->next to link and then last to link.. (line 23-24). if...
is something wrong with the c language? i dont understand whats wrong here :-/
when I'm running this code. I'm always getting 13 at index 4 and values very close to 32500 on 3rd and random garbage values on index 2. and others are 0. is there any reason ...
how to generate a random number between 0 to n without using the random module?
hi guys, im doing a challenge and i figured out that i have to pass array index in first two inputs and a string Android 18 or Gohan in third. it will then replace it in pair ...
where can I see the implementation of inbuilt c function? i checked the header file at /usr/include/stdlib.h but it doesn't have the code for sorting
this python code prints only mpv. how to get full process name mpv jOBS...... ?
why is it not giving segfault?
hi i have a webapp which is taking input from a javascript prompt and storing it in a variable and i want to take that value and put it on a image using PIL in python. how can...
why should i use @override in this problem? onnly declaring the method without overriding will work too because it is calling Soccer class and getPlayerNumber method will be e...
hi i have a very basic doubt in C language 1. why do we write int main and return 0 while we can just use void like java? 2. why doesnt gcc give error if i dont add a return s...
no output?
did you add python to PATH while installing it?
django error? no module named myapp.urls PS. its writte myapps.site bcs i tried myapps.site.url before
I'm learning my first language (java) but I've some knowledge of c++ too. I want to go in the field of cyber security and networking and some android dev too. should I continu...
https://cses.fi/problemset/result/1613918 this is my solution for Missing Number CSES problem. Can someone tell me why my output is coming 128 when input is 1000 and above ?
can someone explain why it is printing 3 and not 3.14159 ?