



I am preparing for DSA, and I find it difficult to debug arrays inside a function. When I enter the function in the debugger, I can only see the starting address and the value of the first array element. I am not able to see the other array values. What is the right way to debug this, and how should I write the program to make debugging easier?
This is sort01 code fro example:
debugging image : [debug.png](https://postimg.cc/JGfZ8jrd)
#include <stdio.h>
#include <stdlib.h>
void sort01(int *array, int n)
{
int tmp=0;
int left=0;
int right=n-1;
while(left <= right)
{
if(array[left] !=0)
{
tmp = array[left];
array[left]= array[right];
array[right]=tmp;
right--;
}
else
{
left++;
}
}
}
int main()
{
int array[]={1,0,1,1,1,0,0,1,0};
int n=sizeof(array)/sizeof(array[0]);
sort01(array, n);
for( int i=0 ;i<n ; i++)
printf( "%d",array[i]);
return 0;
}
Yesterday i have seen some channel views 3 lakh for 6 hours, content is crying and one guy his bmw got accident and in comments section people giving suggestions like they're his family.
Influencer and crying and people fall for this.
I was felt bad for our older generation watching daily soap and astrology , now younger falling for this social media influencer.
Please let me know, this ajjarakadu ground running trakc allowed for public?
Completed 3k, it was raining and felt good.
Felt good, hope you guy attended.
Participated free run marathon 3k at manipal
i am just started learning qemu and able to simulate UART, now i want to try spi and i want to read write flash memory.
i have armt cortex mo+ qemu
ps:already any repo i svailable?
i am just started learning qemu and able to simulate UART, now i want to try spi and i want to read write flash memory.
i have armt cortex mo+ qemu
ps:already any repo i svailable?
Do we really get a fine if we cross 80kmph in Udupi highways?
Just I'm curious daily i do see people crossing 80 speed
I have one startup looking for baremetal developer like Ethernet stack developer by using ARM mcu
Currently i have amazefit bip6 square dail watch and it broke two times once while swimming and second time while walking in staircase. Both case i hit my hand to rod.
Display cost is 2k.
I'm planning to buy garmin now, my requirements is i have road bike, i do gym, planning to run, frequently i do swim.
My plan is garmin forerunner 165 without music, is it good to go?
Note: i dont have any plans to iron man or trialthon or or any professional tournament.
I am confused about contex switching topic
How did you learn your first back flip and front flip into a swimming pool? Beginner looking for advice
I mean diving into the pool
I'm seeing pinakini near pangala and shambavi near mulki just example, undeta moola olpa?
Eranda gottu itunda panle
In Queue operations (no confusion here):
But in Circular Buffer, which convention is correct?
Option 1:
push -> head index
pop -> tail index
OR
Option 2:
push -> tail index
pop -> head index
>I see different implementations online, so I'm confused about which index is supposed to be used for write/read operations in a circular buffer.
i have used serpapi and tried to seach queries for below sites, gettign failed.
>https://community.st.com/t5/stm32-mcus-products/bd-p/stm32-mcu-products-forum
my json link:
https://filebin.net/dst7yhpwvglpua6g/st_community_qa_workflow%20%287%29.json
I created an n8n workflow to search LinkedIn jobs, but it’s not working properly. I used Apify for scraping/searching, but I’m not getting any results.
json link:
https://filebin.net/fhhxc3b9vgx16qp5/Embedded_Job_Alerts_Public.json
I want to fetch high voted old like(i can see 16 year old question are very good), please support me. i have json file, its fetching from past one yera old only.
json file:
Faced this challenges in my work.