Hi guys, I use g cc. I want to know the address of each and every line of code.Is there any way obtaining it through dis assembling? the first column of dis assembled output seems like address to me, but I am not sure. #include <stdio.h> #include <string.h> int main() { char name[20],address[500]; printf("enter your name::: \n"); fgets(name, sizeof(name), stdin); printf("name you entered is:: %s \n", name); printf("enter your name::: \n"); fgets(address, sizeof(address), stdin); printf("address you entered is:: %s \n", address); } for above example I want to know address at each and every line.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)